<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
  <%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h1>
		<font color="red">Update User</font>
	</h1>
	<s:form action="updateUser">
		<table>
			<tr>
				<td><s:hidden name="user.id" value="%{user.id}"></s:hidden></td>
			</tr>

			<tr>
				<td><s:textfield name="user.firstname"
						value="%{user.firstname}" label="firstname"></s:textfield>
				</td>
			</tr>

			<tr>
				<td><s:textfield name="user.lastname" value="%{user.lastname}"
						label="lastname'"></s:textfield></td>
			</tr>

			<tr>
				<td><s:textfield name="user.age" value="%{user.age}"
						label="age"></s:textfield></td>
			</tr>

			<tr>
				<td><s:submit></s:submit></td>
			</tr>
		</table>
	</s:form>
</body>
</html>